.cal-container {
	display: inline-block;
	border: 1px solid #bbb;
	border-radius: 5px;
	padding: 0.5em;
}
.cal-popup {
	position: absolute;
	background-color: #fff;
	box-shadow: 0 0 10px #000;
	z-index: 1000;
}
.cal-text {
	width: 10em;
}

.cal-wrap {
	float: left;
	width: 2em;
}

.cal-button {
	text-align: center;
	border: 1px solid #ccc;
	border-radius: 5px;
	cursor: pointer;
	-moz-user-select: none;
	-webkit-user-select: none;
}
.cal-button:hover {
	background-color: #eee;
}

.cal-day, .cal-dow {
	float: left;
	width: 2em;
	text-align: center;
}
.cal-dow {
	font-style: italic;
}
.cal-dow-0 { /* domenica */
	color: red;
}
.cal-day-empty {
	height: 1em;
}
.cal-today {
	font-style: italic;
	color: #00c;
}
.cal-current {
	font-weight: bold;
}

.cal-clear {
	clear: both;
}

.cal-box {
	margin-top: 0.25em;
	width: 14em;
}

.cal-wrap-month {
	width: 6.5em;
}
.cal-wrap-year {
	width: 3.5em;
}

.cal-box-months .cal-wrap {
	width: 3.5em;
	height: 2.5em;
	line-height: 2.5em;
}
.cal-box-years .cal-wrap {
	width: 2.8em;
	height: 1.5em;
	line-height: 1.5em;
}
.cal-box .cal-button {
	font-size: 0.9em;
}

.cal-goto-today {
	float: left;
	width: 4em;
}

.cal-time {
	float: right;
}
.cal-time input {
	font-size: 1em;
	text-align: center;
}
.cal-time .cal-number {
	float: left;
}
.cal-time .cal-button {
	float: left;
	width: 1em;
	height: 1.2em;
}
.cal-time input {
	width: 2em;
	height: 1em;
}

.cal-icon {
	width: 24px;
	height: 24px;
	background: url(gfx/calendar.png) 0 0 no-repeat;
	cursor: pointer;
	display: inline-block;
	vertical-align: top;
}
